package com.platform.cdcs.model;

import com.platform.cdcs.tool.Constant;

import java.io.Serializable;
import java.util.List;

/**
 * Created by holytang on 2017/10/12.
 */
public class CustomerItem implements Serializable {

    private String id;
    private String distCode;
    private String distName;
    private String cusName;
    private String cusCode;
    private String status;

    private String distApplyName;
    private String distApplyCode;
    private int isMerge;
    private String result_msg;
    private String remark;
    private String fill_date;
    private String update_date;
    private String fill_man_name;

    public String getFill_man_name() {
        return fill_man_name;
    }

    public void setFill_man_name(String fill_man_name) {
        this.fill_man_name = fill_man_name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDistCode() {
        return distCode;
    }

    public void setDistCode(String distCode) {
        this.distCode = distCode;
    }

    public String getDistName() {
        return distName;
    }

    public void setDistName(String distName) {
        this.distName = distName;
    }

    public String getCusName() {
        return cusName;
    }

    public void setCusName(String cusName) {
        this.cusName = cusName;
    }

    public String getCusCode() {
        return cusCode;
    }

    public void setCusCode(String cusCode) {
        this.cusCode = cusCode;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getDistApplyName() {
        return distApplyName;
    }

    public void setDistApplyName(String distApplyName) {
        this.distApplyName = distApplyName;
    }

    public String getDistApplyCode() {
        return distApplyCode;
    }

    public void setDistApplyCode(String distApplyCode) {
        this.distApplyCode = distApplyCode;
    }

    public int getIsMerge() {
        return isMerge;
    }

    public void setIsMerge(int isMerge) {
        this.isMerge = isMerge;
    }

    public String getResult_msg() {
        return result_msg;
    }

    public void setResult_msg(String result_msg) {
        this.result_msg = result_msg;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getFill_date() {
        if(fill_date.length()> Constant.TIME_LENGTH){
            return fill_date.substring(0,Constant.TIME_LENGTH);
        }
        return fill_date;
    }

    public void setFill_date(String fill_date) {
        this.fill_date = fill_date;
    }

    public String getUpdate_date() {
        if(update_date.length()> Constant.TIME_LENGTH){
            return update_date.substring(0,Constant.TIME_LENGTH);
        }
        return update_date;
    }

    public void setUpdate_date(String update_date) {
        this.update_date = update_date;
    }

    public static class CusList extends MockObj {
        private List<CustomerItem> cusList;
        private List<CustomerItem> otherReportList;
        private CustomerItem otherReportInfo;

        public List<CustomerItem> getCusList() {
            return cusList;
        }

        public void setCusList(List<CustomerItem> cusList) {
            this.cusList = cusList;
        }

        public List<CustomerItem> getOtherReportList() {
            return otherReportList;
        }

        public void setOtherReportList(List<CustomerItem> otherReportList) {
            this.otherReportList = otherReportList;
        }

        public CustomerItem getOtherReportInfo() {
            return otherReportInfo;
        }

        public void setOtherReportInfo(CustomerItem otherReportInfo) {
            this.otherReportInfo = otherReportInfo;
        }
    }
}
